



import { request } from "@/http/axios"


/* 
agent_id
: 
"0"
country_id
: 
7
goods_img
: 
"https://file.web3link.pro/cloudfile/shop/20250508/EMSSpsN7w8ZIzyx5cFd2DwXdq2HOr1VT1ksiB7mO.png"
goods_price
: 
"432543"
goods_title
: 
"2131"
goods_title_zh
: 
"4324"
language_id
: 
12
shop_id
: 
191
state
: 
"1"

*/


// 寻找店铺
export function adminorderfetchShop(params) {
  return request({
    url: "/admin/order/fetchShop",
    method: "get",
    params
  })
}



export function getTableDataApi(params) {
  return request({
    url: "/admin/order/list",
    method: "get",
    params
  })
}

export function createTableDataApi(data) {
  return request({
    url: "/admin/order/create",
    method: "post",
    data
  })
}

/** 查 */
export function deleteTableDataApi(params) {
  return request({
    url: "/admin/tota",
    method: "get",
    params
  })
}



export function updateTableDataApi(data) {
  return request({
    url: `/admin/order/update/${data.id}`,
    method: "put",
    data
  })
}

export function adminupload(data) {
  return request({
    url: "/admin/upload",
    method: "post",
    data
  })
}





